package com.hcbd.tdwt.ui.setting.xingyu.activity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.widget.RelativeLayout;
import android.widget.TextView;


import com.hcbd.tdwt.R;
import com.hcbd.tdwt.base.BaseActivity;


import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

@SuppressLint("NonConstantResourceId")
@EActivity(R.layout.activity_bd_parameter_set)
public class BdParmSetActivity extends BaseActivity {
    @ViewById
    RelativeLayout positionUpRL,sosRL,voiceParameterRL,workAgreeRL;
    @ViewById
    RelativeLayout operatingModeRL,rnssSetRL;
    @ViewById
    TextView title;
    @AfterViews
    protected void init() {
        title.setText("参数设置");
    }
    //位置上报
    @Click
    void positionUpRL(){
        Intent intent=new Intent();
        intent.setClass(this,PositionUpActivity_.class);
        startActivity(intent);
    }

    //报警设置
    @Click
    void sosRL(){
        Intent intent=new Intent();
        intent.setClass(this,BdDeviceSOSActivity_.class);
        startActivity(intent);
    }
    //工作协议
    @Click
    void workAgreeRL(){
        Intent intent=new Intent();
        intent.setClass(this,WorkAgreeActivity_.class);
        startActivity(intent);
    }
    //语音参数设置
    @Click
    void voiceParameterRL(){
        Intent intent=new Intent();
        intent.setClass(this, VoiceParameterActivity_.class);
        startActivity(intent);
    }
    @Click
    void operatingModeRL(){
        Intent intent=new Intent();
        intent.setClass(this, WorkModeActivity_.class);
        startActivity(intent);
    }
    @Click
    void bluetoothNameRL(){
        Intent intent=new Intent();
        intent.setClass(this, BluetoothNameSetActivity_.class);
        startActivity(intent);
    }
    @Click
    void rnssSetRL(){
        Intent intent=new Intent();
        intent.setClass(this, RnssFrequencyActivity_.class);
        startActivity(intent);
    }

    @Click
    void headLeft(){
        finish();
    }
}
